#include <stdio.h>

int main(void)
{
    int i, j;
    float x, y;

    scanf("%d, %d, %f, %f", &i, &j, &x, &y);
    printf("%d\n%d\n%f\n%f", i, j, x, y);

    return 0;
}
